// $Id: Cli.h 127 2007-11-17 15:07:25Z bram $


/**
 * Commandline interface header file.
 *
 * @file Cli.h
 * @author Bram Bonn&eacute;
 */


#ifndef CLI_H_INCLUDED
#define CLI_H_INCLUDED

#include "Piece.h"
#include "Game.h"
#include <string>
using namespace std;

class Cli {
	public:
		Cli(void);
		virtual ~Cli(void);

	private:
		Game * m_game;
		string m_p1Name, m_p2Name;
		void ReadPlayerNames();
		void AskNewMove(Piece speler) const;
		void PrintBoard() const;
		void EndGame() const;
		char PieceToChar(Piece piece) const;
};

#endif // CLI_H_INCLUDED
